package org.mzyyn.qr.service;

import org.mzyyn.qr.dto.assistance.AssistanceSuccessDTO;
import org.mzyyn.qr.entity.AssistanceRecordPO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.mzyyn.qr.vo.assistance.AssistanceVO;

import java.util.List;

/**
 * <p>
 * 助力记录表 服务类
 * </p>
 *
 * @author lipeng
 * @since 2024-09-03
 */
public interface AssistanceRecordService extends IService<AssistanceRecordPO> {

    /**
     * 助力成功
     * @param assistanceSuccessDTO
     */
    void assistanceSuccess(AssistanceSuccessDTO assistanceSuccessDTO);

    /**
     * 实时助力
     * @param assistanceSuccessDTO
     */
    void assistanceSuccessShishi(AssistanceSuccessDTO assistanceSuccessDTO);

    /**
     * 助力成功
     * @param assistanceSuccessDTO
     */
    void huzhuSuccess(AssistanceSuccessDTO assistanceSuccessDTO);

    /**
     * 获取助力人数
     * @param shareCode
     */
    Long assistancePeopleCount(String shareCode);

    /**
     * 获取人员信息
     * @param shareCode
     */
    List<AssistanceRecordPO> getAssistanceRecordList(String shareCode,Integer size);

}
